import request from '@/utils/axios'

// 获取员工销售额报表数据
export function getSaleChatData(data) {
    return request({
        path: '/chat/employeeSale',
        data
    })
}

// 获取销售量报表数据
export function getSaleNumData(data) {
    return request({
        path: '/chat/saleNum',
        data
    })
}

// 获取库存报表数据
export function getStockData(data) {
    return request({
        path: '/chat/stock',
        data
    })
}

//导出销售量报表数据
export function exportSaleNumData(data) {
    return request({
        path: "/chat/exportSaleNumData",
        data,
        responseType: "blob"
    });
}

